/*
 * BulkMessageDaoIfc.java
 *
 * Created on February 5, 2005, 1:14 AM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package org.naga.bulksender.dal;

import java.util.List;
import org.naga.bulksender.data.BulkMessage;
import org.smslib.Message;
import org.springframework.dao.DataAccessException;

/**
 * Define the Interface to DataBase
 * @author Naga Services
 */
public interface BulkMessageDaoIfc {
    
    public List<BulkMessage> checkNewMessages() throws DataAccessException ;
    public  List<BulkMessage>  getNewMessages() throws DataAccessException ;
    public void  getNumbersFromContacts(BulkMessage msg) throws DataAccessException ;
    public  void  getNumbersFromGroup(BulkMessage msg) throws DataAccessException;
    public void changeMessageStatus(Integer msgId, String newStatus) throws DataAccessException;
    public void logMsgSent(Integer msgId, String phoneNumber) throws DataAccessException;
    public void store(Message msg) throws DataAccessException;
    
    
}
